package com.shu.rpc.rpc1.server.impl;

import com.shu.rpc.rpc1.common.bean.Product;
import com.shu.rpc.rpc1.common.service.ProductService;

/**
 * @author ssm
 * @version V1.0
 * @description:
 * @date 2020/6/12 10:01
 */

public class ProductServiceImpl implements ProductService {

    /**
     * @param id
     * @return
     */
    @Override
    public Product getBeanByKey(Integer id) {
        return new Product().setId(id).setName("兰博基尼");
    }
}
